package com.ruoyi.system.mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.ShopSoftware;
import com.ruoyi.system.domain.queryShopSoftwareParms;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * 软件池列Mapper接口
 * 
 * @author ruoyi
 * @date 2024-06-03
 */
@Repository
public interface ShopSoftwareMapper 
{
    /**
     * 查询软件池列
     * 
     * @param softwareId 软件池列主键
     * @return 软件池列
     */
    public ShopSoftware selectShopSoftwareBySoftwareId(Long softwareId);
    /**
     * 查询软件池列
     *
     * @param softwareId 软件池列主键
     * @return 软件池列
     */
    public ShopSoftware selectShopSoftwareBySoftwareAndCompanyId(Long softwareId);

    /**
     * 查询软件池列列表
     * 
     * @param shopSoftware 软件池列
     * @return 软件池列集合
     */
    public List<ShopSoftware> selectShopSoftwareList(ShopSoftware shopSoftware);


    public List<Map> querySoftwareList(ShopSoftware parms);

    /**
     * 新增软件池列
     * 
     * @param shopSoftware 软件池列
     * @return 结果
     */
    public int insertShopSoftware(ShopSoftware shopSoftware);

    /**
     * 修改软件池列
     * 
     * @param shopSoftware 软件池列
     * @return 结果
     */
    public int updateShopSoftware(ShopSoftware shopSoftware);

    /**
     * 删除软件池列
     * 
     * @param softwareId 软件池列主键
     * @return 结果
     */
    public int deleteShopSoftwareBySoftwareId(Long softwareId);

    /**
     * 批量删除软件池列
     * 
     * @param softwareIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopSoftwareBySoftwareIds(Long[] softwareIds);

    public ShopSoftware getShopSoftwareTotal();

    List<ShopSoftware> selectShopSoftwareList1(ShopSoftware shopSoftware);
}
